package com.mashiro.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mashiro.common.annotation.Excel;
import com.mashiro.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 验收管理对象 moe_acceptance
 *
 * @author mashiro
 * @date 2023-04-14
 */
public class MoeAcceptanceInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * 名称
     */
    @Excel(name = "名称")
    private String projectName;

    /**
     * 类别
     */
    @Excel(name = "类别")
    private String category;

    /**
     * 级别
     */
    @Excel(name = "级别")
    private String level;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /**
     * 截止时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /**
     * 完成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    /**
     * 总资金
     */
    @Excel(name = "总资金")
    private Long totalFunding;

    /**
     * 名称
     */
    @Excel(name = "团队名称")
    private String teamName;

    /**
     * 合同名称
     */
    @Excel(name = "合同名称")
    private String contractualName;

    /**
     * 用户昵称
     */
    @Excel(name = "用户名称")
    private String nickName;

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Long getTotalFunding() {
        return totalFunding;
    }

    public void setTotalFunding(Long totalFunding) {
        this.totalFunding = totalFunding;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getContractualName() {
        return contractualName;
    }

    public void setContractualName(String contractualName) {
        this.contractualName = contractualName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("projectName", getProjectName())
                .append("category", getCategory())
                .append("level", getLevel())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("finishTime", getFinishTime())
                .append("totalFunding", getTotalFunding())
                .append("teamName", getTeamName())
                .append("contractualName", getContractualName())
                .toString();
    }
}
